package com.liubujun.redis_springboot;

import org.springframework.util.CollectionUtils;

import javax.lang.model.element.VariableElement;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @Author: liubujun
 * @Date: 2022/2/8 14:08
 */


public class TestList {

    public static void main(String[] args) {
        List<String> list1 = Collections.singletonList("aaa");
         list1.set(1, "bbb"); //list1.add("ccc");

    }

}
